﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing.Design;
using ApplicationGenerator.CommonForms;
using System.ComponentModel;

namespace WorkflowLibrary
{
    public class MethodNameEditorWrapper : UITypeEditor
    {
        private MethodNameTypeEditor _methodNameTypeEditor = new MethodNameTypeEditor();

        public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
        {
            return _methodNameTypeEditor.GetEditStyle(context);
        }

        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            return _methodNameTypeEditor.EditValue(context, provider, value);
        }
    }
}
